package com.sskj.cndragon.bean;

import java.util.ArrayList;
import java.util.List;

public class OrderSellListBean {

    private List<OrderSellBean> list;

    public List<OrderSellBean> getList() {
        if (list == null) {
            return new ArrayList<>();
        }
        return list;
    }

    public void setList(List<OrderSellBean> list) {
        this.list = list;
    }

    public class OrderSellBean{


        /**
         * id : 55
         * stockUserId : 197
         * stockId : 40
         * price : 110.0
         * orderNo : 123456
         * status : 0
         * sellStatus : 4
         * createTime : 1555925436000
         * name : 治世龙
         * contractDays : 10
         * profitRatio : 10.00000000
         * profitPrice : 10.00000000
         * renewalStatus : 0
         */

        private String id;
        private String stockUserId;
        private String stockId;
        private double price;
        private String orderNo;
        private int status;
        private int sellStatus;
        private long createTime;
        private String name;
        private String contractDays;
        private String profitRatio;
        private String profitPrice;
        private String renewalStatus;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStockUserId() {
            return stockUserId == null ? "" : stockUserId;
        }

        public void setStockUserId(String stockUserId) {
            this.stockUserId = stockUserId;
        }

        public String getStockId() {
            return stockId == null ? "" : stockId;
        }

        public void setStockId(String stockId) {
            this.stockId = stockId;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getOrderNo() {
            return orderNo == null ? "" : orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getSellStatus() {
            return sellStatus;
        }

        public void setSellStatus(int sellStatus) {
            this.sellStatus = sellStatus;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getName() {
            return name == null ? "" : name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getContractDays() {
            return contractDays == null ? "" : contractDays;
        }

        public void setContractDays(String contractDays) {
            this.contractDays = contractDays;
        }

        public String getProfitRatio() {
            return profitRatio == null ? "" : profitRatio;
        }

        public void setProfitRatio(String profitRatio) {
            this.profitRatio = profitRatio;
        }

        public String getProfitPrice() {
            return profitPrice == null ? "" : profitPrice;
        }

        public void setProfitPrice(String profitPrice) {
            this.profitPrice = profitPrice;
        }

        public String getRenewalStatus() {
            return renewalStatus == null ? "" : renewalStatus;
        }

        public void setRenewalStatus(String renewalStatus) {
            this.renewalStatus = renewalStatus;
        }
    }



}
